xen: arm: propagate gic's #address-cells property to dom0.
authorIan Campbell <ian.campbell@citrix.com>
Fri, 24 Oct 2014 09:58:33 +0000 (10:58 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 5 Nov 2014 10:11:13 +0000 (10:11 +0000)
commit816f5bb1f0740be8355e1be6cc24edf09547d984
tree66d2faaeb01a6584582d0f813131a79411822332
parent37f29b0cb2551b1d790015be81232b6202a43bf2
xen: arm: propagate gic's #address-cells property to dom0.

The interrupt-map property requires that the interrupt-parent node
must have both #address-cells and #interrupt-cells properties (see
ePAPR 2.4.3.1). Therefore propagate the property if it is present.

We must propagate (rather than invent our own value) since this value
is used to size fields within other properties within the tree.

ePAPR strictly speaking requires that the interrupt-parent node
always has these properties. However reality has diverged from this
and implementations will recursively search parents for #*-cells
properties. Hence we only copy if it is present.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Reviewed-by: Julien Grall <julien.grall@linaro.org>
xen/arch/arm/domain_build.c